package dongbai.soft.feignclient;

import dongbai.soft.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient("dispatch-server")
public interface DispatchClient {
    /**
     * 让调度中心查看挂起队列的接口
     */
    @RequestMapping("/editShortOrder")
    public R eSOrder(@RequestBody Map<String, Object> pmap);

    /**
     * 让调度中心修改订单状态
     */
    @RequestMapping("/setstatus")
    public R setStatus(@RequestBody Map<String, Object> smap);

}
